﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000B3F RID: 2879
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MissionSync : IMessage<MissionSync>, IMessage, IEquatable<MissionSync>, IDeepCloneable<MissionSync>, IBufferMessage
	{
		// Token: 0x17002451 RID: 9297
		// (get) Token: 0x060080B4 RID: 32948 RVA: 0x001576FF File Offset: 0x001558FF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MissionSync> Parser
		{
			get
			{
				return MissionSync._parser;
			}
		}

		// Token: 0x17002452 RID: 9298
		// (get) Token: 0x060080B5 RID: 32949 RVA: 0x00157706 File Offset: 0x00155906
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MissionSyncReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002453 RID: 9299
		// (get) Token: 0x060080B6 RID: 32950 RVA: 0x00157718 File Offset: 0x00155918
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MissionSync.Descriptor;
			}
		}

		// Token: 0x060080B7 RID: 32951 RVA: 0x00157720 File Offset: 0x00155920
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MissionSync()
		{
		}

		// Token: 0x060080B8 RID: 32952 RVA: 0x00157780 File Offset: 0x00155980
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MissionSync(MissionSync other) : this()
		{
			this.jGMMKLOBCHO_ = other.jGMMKLOBCHO_.Clone();
			this.delMissionIdList_ = other.delMissionIdList_.Clone();
			this.cPMDJNCBCMF_ = other.cPMDJNCBCMF_.Clone();
			this.cJALFGAEPKK_ = other.cJALFGAEPKK_.Clone();
			this.missionList_ = other.missionList_.Clone();
			this.delMainMissionIdList_ = other.delMainMissionIdList_.Clone();
			this.finishedMainMissionIdList_ = other.finishedMainMissionIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060080B9 RID: 32953 RVA: 0x0015781B File Offset: 0x00155A1B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MissionSync Clone()
		{
			return new MissionSync(this);
		}

		// Token: 0x17002454 RID: 9300
		// (get) Token: 0x060080BA RID: 32954 RVA: 0x00157823 File Offset: 0x00155A23
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<FCBMHIGCMHL> JGMMKLOBCHO
		{
			get
			{
				return this.jGMMKLOBCHO_;
			}
		}

		// Token: 0x17002455 RID: 9301
		// (get) Token: 0x060080BB RID: 32955 RVA: 0x0015782B File Offset: 0x00155A2B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> DelMissionIdList
		{
			get
			{
				return this.delMissionIdList_;
			}
		}

		// Token: 0x17002456 RID: 9302
		// (get) Token: 0x060080BC RID: 32956 RVA: 0x00157833 File Offset: 0x00155A33
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<OKBGMBEIMCB> CPMDJNCBCMF
		{
			get
			{
				return this.cPMDJNCBCMF_;
			}
		}

		// Token: 0x17002457 RID: 9303
		// (get) Token: 0x060080BD RID: 32957 RVA: 0x0015783B File Offset: 0x00155A3B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> CJALFGAEPKK
		{
			get
			{
				return this.cJALFGAEPKK_;
			}
		}

		// Token: 0x17002458 RID: 9304
		// (get) Token: 0x060080BE RID: 32958 RVA: 0x00157843 File Offset: 0x00155A43
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<Mission> MissionList
		{
			get
			{
				return this.missionList_;
			}
		}

		// Token: 0x17002459 RID: 9305
		// (get) Token: 0x060080BF RID: 32959 RVA: 0x0015784B File Offset: 0x00155A4B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> DelMainMissionIdList
		{
			get
			{
				return this.delMainMissionIdList_;
			}
		}

		// Token: 0x1700245A RID: 9306
		// (get) Token: 0x060080C0 RID: 32960 RVA: 0x00157853 File Offset: 0x00155A53
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> FinishedMainMissionIdList
		{
			get
			{
				return this.finishedMainMissionIdList_;
			}
		}

		// Token: 0x060080C1 RID: 32961 RVA: 0x0015785B File Offset: 0x00155A5B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MissionSync);
		}

		// Token: 0x060080C2 RID: 32962 RVA: 0x0015786C File Offset: 0x00155A6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MissionSync other)
		{
			return other != null && (other == this || (this.jGMMKLOBCHO_.Equals(other.jGMMKLOBCHO_) && this.delMissionIdList_.Equals(other.delMissionIdList_) && this.cPMDJNCBCMF_.Equals(other.cPMDJNCBCMF_) && this.cJALFGAEPKK_.Equals(other.cJALFGAEPKK_) && this.missionList_.Equals(other.missionList_) && this.delMainMissionIdList_.Equals(other.delMainMissionIdList_) && this.finishedMainMissionIdList_.Equals(other.finishedMainMissionIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060080C3 RID: 32963 RVA: 0x00157928 File Offset: 0x00155B28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.jGMMKLOBCHO_.GetHashCode();
			num ^= this.delMissionIdList_.GetHashCode();
			num ^= this.cPMDJNCBCMF_.GetHashCode();
			num ^= this.cJALFGAEPKK_.GetHashCode();
			num ^= this.missionList_.GetHashCode();
			num ^= this.delMainMissionIdList_.GetHashCode();
			num ^= this.finishedMainMissionIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060080C4 RID: 32964 RVA: 0x001579B0 File Offset: 0x00155BB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060080C5 RID: 32965 RVA: 0x001579B8 File Offset: 0x00155BB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060080C6 RID: 32966 RVA: 0x001579C4 File Offset: 0x00155BC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.cJALFGAEPKK_.WriteTo(ref output, MissionSync._repeated_cJALFGAEPKK_codec);
			this.cPMDJNCBCMF_.WriteTo(ref output, MissionSync._repeated_cPMDJNCBCMF_codec);
			this.delMissionIdList_.WriteTo(ref output, MissionSync._repeated_delMissionIdList_codec);
			this.missionList_.WriteTo(ref output, MissionSync._repeated_missionList_codec);
			this.delMainMissionIdList_.WriteTo(ref output, MissionSync._repeated_delMainMissionIdList_codec);
			this.finishedMainMissionIdList_.WriteTo(ref output, MissionSync._repeated_finishedMainMissionIdList_codec);
			this.jGMMKLOBCHO_.WriteTo(ref output, MissionSync._repeated_jGMMKLOBCHO_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060080C7 RID: 32967 RVA: 0x00157A5C File Offset: 0x00155C5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.jGMMKLOBCHO_.CalculateSize(MissionSync._repeated_jGMMKLOBCHO_codec);
			num += this.delMissionIdList_.CalculateSize(MissionSync._repeated_delMissionIdList_codec);
			num += this.cPMDJNCBCMF_.CalculateSize(MissionSync._repeated_cPMDJNCBCMF_codec);
			num += this.cJALFGAEPKK_.CalculateSize(MissionSync._repeated_cJALFGAEPKK_codec);
			num += this.missionList_.CalculateSize(MissionSync._repeated_missionList_codec);
			num += this.delMainMissionIdList_.CalculateSize(MissionSync._repeated_delMainMissionIdList_codec);
			num += this.finishedMainMissionIdList_.CalculateSize(MissionSync._repeated_finishedMainMissionIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060080C8 RID: 32968 RVA: 0x00157B08 File Offset: 0x00155D08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MissionSync other)
		{
			if (other == null)
			{
				return;
			}
			this.jGMMKLOBCHO_.Add(other.jGMMKLOBCHO_);
			this.delMissionIdList_.Add(other.delMissionIdList_);
			this.cPMDJNCBCMF_.Add(other.cPMDJNCBCMF_);
			this.cJALFGAEPKK_.Add(other.cJALFGAEPKK_);
			this.missionList_.Add(other.missionList_);
			this.delMainMissionIdList_.Add(other.delMainMissionIdList_);
			this.finishedMainMissionIdList_.Add(other.finishedMainMissionIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060080C9 RID: 32969 RVA: 0x00157BA7 File Offset: 0x00155DA7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060080CA RID: 32970 RVA: 0x00157BB0 File Offset: 0x00155DB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 66U)
				{
					if (num <= 34U)
					{
						if (num == 32U || num == 34U)
						{
							this.cJALFGAEPKK_.AddEntriesFrom(ref input, MissionSync._repeated_cJALFGAEPKK_codec);
							continue;
						}
					}
					else
					{
						if (num == 58U)
						{
							this.cPMDJNCBCMF_.AddEntriesFrom(ref input, MissionSync._repeated_cPMDJNCBCMF_codec);
							continue;
						}
						if (num == 64U || num == 66U)
						{
							this.delMissionIdList_.AddEntriesFrom(ref input, MissionSync._repeated_delMissionIdList_codec);
							continue;
						}
					}
				}
				else if (num <= 98U)
				{
					if (num == 74U)
					{
						this.missionList_.AddEntriesFrom(ref input, MissionSync._repeated_missionList_codec);
						continue;
					}
					if (num == 96U || num == 98U)
					{
						this.delMainMissionIdList_.AddEntriesFrom(ref input, MissionSync._repeated_delMainMissionIdList_codec);
						continue;
					}
				}
				else
				{
					if (num == 104U || num == 106U)
					{
						this.finishedMainMissionIdList_.AddEntriesFrom(ref input, MissionSync._repeated_finishedMainMissionIdList_codec);
						continue;
					}
					if (num == 114U)
					{
						this.jGMMKLOBCHO_.AddEntriesFrom(ref input, MissionSync._repeated_jGMMKLOBCHO_codec);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04003148 RID: 12616
		private static readonly MessageParser<MissionSync> _parser = new MessageParser<MissionSync>(() => new MissionSync());

		// Token: 0x04003149 RID: 12617
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400314A RID: 12618
		public const int JGMMKLOBCHOFieldNumber = 14;

		// Token: 0x0400314B RID: 12619
		private static readonly FieldCodec<FCBMHIGCMHL> _repeated_jGMMKLOBCHO_codec = FieldCodec.ForMessage<FCBMHIGCMHL>(114U, FCBMHIGCMHL.Parser);

		// Token: 0x0400314C RID: 12620
		private readonly RepeatedField<FCBMHIGCMHL> jGMMKLOBCHO_ = new RepeatedField<FCBMHIGCMHL>();

		// Token: 0x0400314D RID: 12621
		public const int DelMissionIdListFieldNumber = 8;

		// Token: 0x0400314E RID: 12622
		private static readonly FieldCodec<uint> _repeated_delMissionIdList_codec = FieldCodec.ForUInt32(66U);

		// Token: 0x0400314F RID: 12623
		private readonly RepeatedField<uint> delMissionIdList_ = new RepeatedField<uint>();

		// Token: 0x04003150 RID: 12624
		public const int CPMDJNCBCMFFieldNumber = 7;

		// Token: 0x04003151 RID: 12625
		private static readonly FieldCodec<OKBGMBEIMCB> _repeated_cPMDJNCBCMF_codec = FieldCodec.ForMessage<OKBGMBEIMCB>(58U, OKBGMBEIMCB.Parser);

		// Token: 0x04003152 RID: 12626
		private readonly RepeatedField<OKBGMBEIMCB> cPMDJNCBCMF_ = new RepeatedField<OKBGMBEIMCB>();

		// Token: 0x04003153 RID: 12627
		public const int CJALFGAEPKKFieldNumber = 4;

		// Token: 0x04003154 RID: 12628
		private static readonly FieldCodec<uint> _repeated_cJALFGAEPKK_codec = FieldCodec.ForUInt32(34U);

		// Token: 0x04003155 RID: 12629
		private readonly RepeatedField<uint> cJALFGAEPKK_ = new RepeatedField<uint>();

		// Token: 0x04003156 RID: 12630
		public const int MissionListFieldNumber = 9;

		// Token: 0x04003157 RID: 12631
		private static readonly FieldCodec<Mission> _repeated_missionList_codec = FieldCodec.ForMessage<Mission>(74U, Mission.Parser);

		// Token: 0x04003158 RID: 12632
		private readonly RepeatedField<Mission> missionList_ = new RepeatedField<Mission>();

		// Token: 0x04003159 RID: 12633
		public const int DelMainMissionIdListFieldNumber = 12;

		// Token: 0x0400315A RID: 12634
		private static readonly FieldCodec<uint> _repeated_delMainMissionIdList_codec = FieldCodec.ForUInt32(98U);

		// Token: 0x0400315B RID: 12635
		private readonly RepeatedField<uint> delMainMissionIdList_ = new RepeatedField<uint>();

		// Token: 0x0400315C RID: 12636
		public const int FinishedMainMissionIdListFieldNumber = 13;

		// Token: 0x0400315D RID: 12637
		private static readonly FieldCodec<uint> _repeated_finishedMainMissionIdList_codec = FieldCodec.ForUInt32(106U);

		// Token: 0x0400315E RID: 12638
		private readonly RepeatedField<uint> finishedMainMissionIdList_ = new RepeatedField<uint>();
	}
}
